package domain;

import builder.database.Column;
import builder.database.Table;


public class Vehicle implements Table {
	public static final Table TABLE = new Vehicle();

	public static final Column
		ID				= new Column(TABLE, "id"),
		LICENSE_PLATE 	= new Column(TABLE, "license_plate"),
		STUDENT_ID		= new Column(TABLE, "student_id");
	
	private String licensePlate;
	
	public Vehicle(){}
	
	public Vehicle(String licensePlate) {
		this.licensePlate = licensePlate;
	}
	
	public void setLicensePlate(String licensePlate) {
		this.licensePlate = licensePlate;
	}
	
	public String getLicensePlate() {
		return licensePlate;
	}

	@Override
	public String getTableName() {
		return "vehicle";
	}

	@Override
	public String getTableShortName() {
		return "vehi";
	}
}
